package com.easy.frame.servers.sys.entity;

import com.easy.frame.base.basic.pojo.BaseTreePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 物料分类表
 *
 * @author tp
 * @since 2021-1-4
 */
@Getter
@Setter
@ToString
public class SysMaterielType extends BaseTreePO {

    private Long id;

    @ApiModelProperty("租户ID")
    private Long tenantId;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("位置编号")
    private String code;

    @ApiModelProperty("位置名称")
    private String name;

    @ApiModelProperty("长编码")
    private String path;

    @ApiModelProperty("父级长编码")
    private String parentPath;

    @ApiModelProperty("层级")
    private Integer level;

    @ApiModelProperty("排序")
    private Integer seq;

    @ApiModelProperty("是否叶节点 [0否 1是]")
    private Boolean isLeafNode;

    @ApiModelProperty("重要等级")
    private String importLevel;

    @ApiModelProperty("企业是否启用（默认是1都启用）")
    private Integer tenantEnabled;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;
}
